package com.mayikt.entity;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;

/**
 * @author: BuMingBo
 * @ClassName: UserEntity
 * @create: 2022-05-06 22:34
 * Version: 1.0
 */
@Data
@Slf4j
public class UserEntity {
    private Integer id;
    private String userName;
    private Integer age;

    public UserEntity(Integer id, String userName, Integer age) {
        this.id = id;
        this.userName = userName;
        this.age = age;
    }

    public UserEntity(String userName, Integer age) {
        this.userName = userName;
        this.age = age;
    }

    /*public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public String getUserName() {
        return userName;
    }

    public Integer getAge() {
        return age;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setAge(Integer age) {
        this.age = age;
    }*/
}
